package abstracttest;

public class Demo {

	public static void main(String[] args) {
		Circle circle = new Circle();
		circle.setR(3);
		circle.area();
		circle.perimeter();
		
		Rectangle rectangle = new Rectangle();
		rectangle.setH(5);
		rectangle.setW(4);
		rectangle.area();
		rectangle.perimeter();
	}

}
